<?xml version="1.0"?>
<component name="org.nuxeo.ecm.localconf.ui.override">

  <require>org.nuxeo.ecm.localconf.ui</require>

  <extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <layout name="ui_types_configuration">
      <templates>
        <template mode="any">
          /layouts/layout_local_configuration_template.xhtml
        </template>
      </templates>
      <properties mode="any">
        <property name="layoutTemplateToInclude">/layouts/layout_default_template.xhtml</property>
        <property name="foldableBoxLabel">label.local.configuration.uiTypes</property>
        <property name="localConfigurationFacet">UITypesLocalConfiguration</property>
        <property name="helpLabel">label.local.configuration.uiTypes.info</property>
        <property name="elementsToReRender">local_configuration_panel</property>
      </properties>
      <rows>
        <row>
          <widget>ui_types_selection</widget>
        </row>
        <row>
          <widget>deny_all_types</widget>
        </row>
        <row>
          <widget>default_type</widget>
        </row>
      </rows>
    </layout>

  </extension>

</component>
